package com.test.account.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by 57695 on 2017/3/15.
 */
public class utils {
    public static String stringToDate(String dateString){
       // SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy");
        String[] arr = dateString.split("/");
        return arr[2].trim()+"-"+arr[0].trim()+"-"+arr[1].trim();
    }
}
